import { createApp } from "vue";
import "./style.css";
import "@/styles/variables.scss";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";
import pinia from "./store";
import "virtual:svg-icons-register";

const app = createApp(App);
// main.ts

// 配置路由
app.use(router);
// 配置pinia
app.use(pinia);

app.mount("#app").$nextTick(() => {
  postMessage({ payload: "removeLoading" }, "*");
});
